import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
Vue.use(ElementUI)
import * as echarts from 'echarts';
Vue.prototype.$echarts =echarts
//引入封装好的全局组件
import Com from './common'
for(let i in Com){
  Vue.component(i,Com[i])
}

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
